package com.wwj.my_ummary.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wwj.my_ummary.enmu.GenderEnum;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wwj
 * @since 2020-12-25
 */
@Data
@TableName("user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("user")
    private String user;

    @TableField("sex")
    private GenderEnum sex;

    @TableField("password")
    private String password;


    public static final String ID = "id";

    public static final String USER = "user";

    public static final String SEX = "sex";

    public static final String PASSWORD = "password";


}
